﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AVCUMPlatform.HelperLibrary
{
    [AttributeUsage(AttributeTargets.All)]
    public class TableAttribute : Attribute
    {
        public TableAttribute(string tableName)
        {
            Name = tableName;
        }

        public string Name { get; set; }
    }

    [AttributeUsage(AttributeTargets.All)]
    public class PrimaryKeyAttribute : Attribute
    {
        public string Name { get; set; }

        public PrimaryKeyAttribute(string keyname)
        {
            Name = keyname;
        }
    }

    [AttributeUsage(AttributeTargets.All)]
    public class ColumnAttribute : Attribute
    {
        public string Name { get; set; }

        public ColumnAttribute(string columnname)
        {
            Name = columnname;
        }
    }

    public enum AttributeType
    {
        Table,
        PrimaryKey,
        Column,
        NULL,
    }
}
